package com.sixth.stock.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sixth.core.entity.Provider;
import com.sixth.core.vo.R;
import com.sixth.stock.vo.ProviderVo;

import java.util.List;

/**
* @author Administrator
* @description 针对表【stock_provider(供应商信息表)】的数据库操作Service
* @createDate 2024-08-14 19:56:44
*/
public interface ProviderService extends IService<Provider> {

    R<IPage<Provider>> selectByPage(ProviderVo providerVo);

    R<IPage<Provider>> selectInit();

    R update(Provider provider);

    R add(Provider provider);

    R<Provider> getProvider(Long id);

    R<List<Provider>> listProvider();

    R batchDelete(Long[] ids);

    R deleteOne(Long id);
}
